﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Cat : Eat, IClimbTree
    {
       

        
        public Cat(string name) : base(name)
        {
            this.Name = name;
        }
        public void output()
        {
        
            Console.WriteLine("我是猫，我喜欢吃{0}",base.Name);
        }

        public void IClimbTree()
        {
            Console.WriteLine("我能爬树！");
        }
    }
}
